<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>查看所有用户列表页面2</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css"
	media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
	href='http://fonts.useso.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic'
	rel='stylesheet' type='text/css'>
<link href='http://fonts.useso.com/css?family=Great+Vibes'
	rel='stylesheet' type='text/css'>
<link href='http://fonts.useso.com/css?family=Comfortaa:400,300,700'
	rel='stylesheet' type='text/css'>
</head>
<body>
<div id="content_right">
                        <br />
                        <br />
                        <div class="btwz">
                            人员列表
                        </div>
                        <br>
                        <form name="form1" action="Staff_InfoServlet" method="post">
                            <table cellspacing="1" class="table">
                                <tr class="table_header">
                                    <td valign="middle" align="left">
                                        账号
                                    </td>
                                    <td valign="middle" align="left">
                                        昵称
                                    </td>
                                    <td valign="middle" align="left">
                                        是否VIP
                                    </td>
                                    <td valign="middle" align="left">
                                        密码
                                    </td>
                                    <td valign="middle" align="left">
                                    </td>
                                </tr>
                                <c:forEach items="${list}" var="list">
                                <tr class="row2" onMouseOver="this.className='row1'"
                                    onMouseOut="this.className='row2'">
                                    <td valign="middle" align="left">
                                        ${list.username}
                                    </td>
                                    <td valign="middle" align="left">
                                        ${list.nickname}
                                    </td>
                                    <td valign="middle" align="left">
                                    	<c:if test="${list.level == 1}">是</c:if>
                                    	<c:if test="${list.level == 0}">否</c:if>
                                    </td>
                                    <td valign="middle" align="left">
                                        ${list.password}
                                    </td>
                                </tr>
                                </c:forEach>
                            </table>
                        </form>
                        <!--
                        
                        <p align="right">
                            <input type="button" class="button" value="添加人员"
                                onclick="location='createStaff.jsp'" />
                            <input type="button" class="button" value="详细信息"
                                onClick="    document.forms[0].submit();" />
                            <input type="button" Class="button" value=" 删  除 "
                                onClick="go()" />
                        </p>
                        -->
                        ${Nochoose}

                        <p class="paging">
                            <a href="userlistsvl2?page=${paging.indexpage-1}">&lt;&lt; 首页 </a>
                            <a href="userlistsvl2?page=${paging.page-1 }">    &lt; 上一页 </a>
                            <strong>第${paging.page+1}页/共${paging.pagenumber}页</strong>
                            <a href="userlistsvl2?page=${paging.page+1}">下一页 &gt;</a>
                            <a href="userlistsvl2?page=${paging.pagenumber-1}">末页 &gt;&gt;</a>
                        </p>
                        <br />
                        <br />
                    </div>
                </div>
            </div>


</body>
</html>